package top.alanshelby.factory;

import top.alanshelby.beans.Teacher;

public class TeacherFactory {

    public Teacher createTeacher() {
        Teacher teacher = new Teacher();
        System.out.println("TeacherFactory 负责创建 Teacher 实例对象！");
        return teacher;
    }
}
